package com.api.league.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author RenQiang
 * @date 2021/6/2
 */
@Data
@ApiModel(value = "精彩瞬间表单")
public class HighlightForm {
    @ApiModelProperty(value = "联赛ID", notes = "联赛ID")
    @NotNull
    private Long leagueId;
    @ApiModelProperty(value = "精彩瞬间ID", notes = "传值表示更新，不传表示新增")
    private Long id;
    @ApiModelProperty(value = "标题", notes = "标题")
    @NotEmpty
    private String title;
    @ApiModelProperty(value = "简介", notes = "简介")
    private String introduction;
    @ApiModelProperty(value = "视频链接", notes = "视频链接")
    @NotEmpty
    private String videoUrl;
}
